package Entidad;


// <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
// #[regen=yes,id=DCE.2E5BE814-407D-80D9-EB3B-7D27EDDE75C5]
// </editor-fold> 
public class Producto {

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.FC56BBBF-B013-3D02-2590-439A0CC9241C]
    // </editor-fold> 
    private int ID;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.AE946B5C-A14B-2D7F-2D57-3F7DDFEDDA3F]
    // </editor-fold> 
    private String nombre;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.EF7402D1-FC16-0549-DE70-CBC230C73798]
    // </editor-fold> 
    private int valor;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.46DC8283-F246-FFAA-7F9C-B8BC1DDD5EAA]
    // </editor-fold> 
    private String garantia;

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,id=DCE.9E64D446-6560-BFEB-34E7-5F79317E8319]
    // </editor-fold> 
    public Producto () {
    }
    
    public Producto(String nombre, int valor, int id, String garantia){
        this.ID=id;
        this.garantia=garantia;
        this.nombre=nombre;
        this.valor=valor;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.E6D7AE02-8F7C-06AA-8CB9-5C86805260A4]
    // </editor-fold> 
    public int getID () {
        return ID;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.250C5E21-316F-3F34-C6ED-A31B36FE724E]
    // </editor-fold> 
    public void setID (int val) {
        this.ID = val;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.F0EC8DA3-1D8B-154F-D235-C1C51724BF59]
    // </editor-fold> 
    public String getGarantia () {
        return garantia;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.3670A3DF-2537-FE39-50AC-390A9D2564A0]
    // </editor-fold> 
    public void setGarantia (String val) {
        this.garantia = val;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.79DFDBC1-6444-3E81-D43D-6172A16205FB]
    // </editor-fold> 
    public String getNombre () {
        return nombre;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.982B7B8E-402E-18CA-831A-E31556D98548]
    // </editor-fold> 
    public void setNombre (String val) {
        this.nombre = val;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.766A17C3-EDA1-6F7E-87AA-E75B34E0DA57]
    // </editor-fold> 
    public int getValor () {
        return valor;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.190D0947-B113-CC54-9845-A185FEBCF4AC]
    // </editor-fold> 
    public void setValor (int val) {
        this.valor = val;
    }

}

